YahnisElsts\PluginUpdateChecker\v5p4\UpdateChecker C

Total Complexity 122
Dependencies 12
Dependents 2
Total lines 1,019
Lines of code 453
Logical lines of code 231
Comment lines 410
Methods 45
Properties 17

Methods 45

Method Rating Maintainability Complexity Lines of code
fixSupportedWordpressVersion()
A
46 14 37
__construct()
A
49 8 30
fixDirectoryName()
S
48 6 37
injectTranslationUpdates()
S
50 6 29
requestMetadata()
S
46 5 40
validateApiResponse()
S
54 5 21
loadTextDomain()
S
59 5 13
filterApplicableTranslations()
S
57 4 17
removeHooks()
S
56 3 18
installHooks()
S
57 3 17
allowMetadataHost()
S
65 4 9
getUpdate()
S
64 4 10
maybeInitDebugBar()
S
65 4 9
injectUpdate()
S
60 3 14
getInstalledTranslations()
S
62 3 12
addNoUpdateItem()
S
63 3 11
checkForUpdates()
S
55 2 20
isBadDirectoryStructure()
S
63 3 10
isNotMyTranslation()
S
69 3 6
collectApiErrors()
S
64 3 10
removeUpdateFromList()
S
71 2 6
addUpdateToList()
S
67 2 8
getUniqueName()
S
68 2 7
isDebugModeEnabled()
S
71 2 6
triggerError()
S
73 2 5
filterUpdateResult()
S
66 2 8
isBeingUpgraded()
S
100 1 0
clearCachedTranslationUpdates()
S
82 1 3
createDebugBarExtension()
S
79 1 3
getTranslationUpdates()
S
81 1 3
getLastRequestApiErrors()
S
82 1 3
shouldShowUpdates()
S
82 1 3
getUpdateListKey()
S
100 1 0
getNoUpdateItemFields()
S
68 1 8
addFilter()
S
78 1 3
getAbsoluteDirectoryPath()
S
81 1 3
getInstalledVersion()
S
81 1 3
requestUpdate()
S
100 1 0
resetUpdateState()
S
82 1 3
getUpdateState()
S
81 1 3
createScheduler()
S
100 1 0
getInstalledPackage()
S
82 1 3
createInstalledPackage()
S
100 1 0
userCanInstallUpdates()
S
100 1 0
onDisplayConfiguration()
S
91 1 2